package com.pig4cloud.pig.buyan.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("car_model")
@Schema(description = "款式")
@EqualsAndHashCode(callSuper = true)
public class CarModel extends Model<CarModel> {
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description="modelId")
	private Long modelId;
	@Schema(description="modelCode")
	private Long modelCode;
	@Schema(description="modelName")
	private String modelName;
	@Schema(description="brandId")
	private String brandId;
	@Schema(description="remark")
	private String remark;
	@TableLogic(value = "0", delval= "1")
	@Schema(description="delFlag")
	private String delFlag;
}
